import java.io.*;

/**
 * @author Team 29
 * This class is responsible for logging events and errors.
 *
 */
public class Logger {

	public static void log(String s)
	{
		try{
			FileWriter write = new FileWriter(new File("src/log.txt"), true);
			write.append(s + "\r\n");
			write.close();
		}
		catch(Exception e){
			System.out.println("Unable to log");
		}
	}
}

